package net.xiaosaguo.mymall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.xiaosaguo.mymall.product.entity.AttrGroupEntity;
import net.xiaosaguo.mymall.product.vo.SpuItemAttrGroupVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 属性分组
 *
 * @author xiaosaguo
 * @email guoyx@vip.qq.com
 * @date 2020-06-04 22:35:11
 */
@Repository
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrGroupVO> getAttrGroupWithAttrBySpuId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
